package org.torweg.pulse.component.example;

import org.torweg.pulse.annotations.RequestBean;
import org.torweg.pulse.annotations.RequestBean.Parameter;
import org.torweg.pulse.util.json.result.AbstractContextAwareRequestBeanResult;


public class UserListRequestBean extends AbstractContextAwareRequestBeanResult {
	
	private String emailFragment;
	
	@RequestBean.Parameter("email")
	public final void setEmailFragment(final String f) {
		this.emailFragment = f;
	}
	
	public final boolean containsEmailFragment() {
		return (this.emailFragment != null);
	}
	
	public final String getEmailFragment() {
		return this.emailFragment;
	}
}
